From 09c23bf0d479cd81a559541014a2c33e5901a451 Mon Sep 17 00:00:00 2001 From: WebTogz Date: Tue, 10 Nov 2015 08:10:06 +0100 Subject: [PATCH] Update guide.md Correctness of the previous modification, regarding how to pass arguments via Cargo --- src/doc/guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/guide.md b/src/doc/guide.md index 31eb139ab..ad7819fa3 100644 --- a/src/doc/guide.md +++ b/src/doc/guide.md @@ -92,7 +92,7 @@ class="s1"> Fresh hello_world v0.1.0 (file:///path/to/project/hello_w class="s1"> Running `target/debug/hello_world` Hello, world! -If you want to pass some arguments to your program, please use `cargo run -- first_argument second_argument`. +To pass some arguments to your program, you can use `cargo run first_argument second_argument`. If flags are being passed to the command being invoked, please to use `cargo run -- --a_flag -b an_argument`. You'll now notice a new file, `Cargo.lock`. It contains information about our dependencies. Since we don't have any yet, it's not very interesting. -- 2.30.2